﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.YouZanYun.Model.Dto.Order.Msg.info
{
    /// <summary>
    /// 订单来源
    /// </summary>
    public class Source_Info
    {
        /// <summary>
        /// 下单唯一标识
        /// </summary>
        public string book_key { get; set; }

        /// <summary>
        /// 是否来自线下订单
        /// </summary>
        public bool is_offline_order { get; set; }

        /// <summary>
        /// 订单来源平台
        /// </summary>
        public source source { get; set; }
    }

    /// <summary>
    /// 订单来源平台
    /// </summary>
    public class source
    {
        /// <summary>
        /// 平台 
        /// wx:微信; 
        /// merchant_3rd:商家自有
        /// app; buyer_v:买家版; 
        /// browser:系统浏览器; 
        /// alipay:支付宝;
        /// qq:腾讯QQ; 
        /// wb:微博; 
        /// other:其他
        /// </summary>
        public string platform { get; set; }

        /// <summary>
        /// 微信平台细分 
        /// wx_gzh:微信公众号; 
        /// yzdh:有赞大号; 
        /// merchant_xcx:商家小程序; 
        /// yzdh_xcx:有赞大号小程序
        /// direct_buy:直接购买
        /// </summary>
        public string wx_entrance { get; set; }
    }

}
